package com.wanmait.schedule.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.schedule.entity.Course;
import com.wanmait.schedule.entity.CourseTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wanmait.schedule.entity.Teacher;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 教师课程对应关系表 服务类
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
public interface CourseTeacherService extends IService<CourseTeacher> {

    List<Teacher> listCourseByTeacher();
    PageInfo<Teacher> list(CourseTeacher courseTeacher, Integer pageNum);

    List<Course> listByTeacherId(Integer id);

    void update(Integer id,Integer[] ids);
}
